<!-- <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ÎÞ±êÌâÎÄµµ</title> -->
<style type="text/css">
<!--
#knowledgebody {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
input {
	font-size: 14px;
	line-height: 180%;
	color: #ffffff;
	TEXT-DECORATION: none;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	background-color: transparent;
	font-family: "Microsoft YaHei", "Î¢ÈíÑÅºÚ", "Microsoft JhengHei";
}

A {
	font-size: 14px;
	line-height: 180%;
	TEXT-DECORATION: none;
	color: #333333;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}
div{
  font-size: 14px;
}
A:link {
	font-size: 14px;
	line-height: 180%;
	TEXT-DECORATION: none;
	color: #333333;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}

A:visited {
	font-size: 14px;
	line-height: 180%;
	TEXT-DECORATION: none;
	color: #333333;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}

A:hover {
	font-size: 14px;
	line-height: 180%;
	TEXT-DECORATION: none;
	color: #4088C7;
	font-family: "Microsoft YaHei", "Î¢ÈíÑÅºÚ", "Microsoft JhengHei";
}

A:active {
	font-size: 14px;
	line-height: 180%;
	TEXT-DECORATION: none;
	color: #D70101;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}

.nav {
	font-size: 16px;
	line-height: 100%;
	color: #333333;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
	TEXT-DECORATION: none;
}

.nav A:link {
	font-size: 16px;
	line-height: 100%;
	color: #333333;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
	TEXT-DECORATION: none;
}

.nav A:visited {
	font-size: 16px;
	line-height: 100%;
	color: #333333;
	TEXT-DECORATION: none;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}

.nav A:hover {
	font-size: 16px;
	line-height: 100%;
	color: #EF0101;
	TEXT-DECORATION: none;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}

.nav A:active {
	font-size: 16px;
	line-height: 100%;
	TEXT-DECORATION: underline;
	color: #EF0101;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}

.white {
	font-size: 14px;
	line-height: 100%;
	TEXT-DECORATION: none;
	color: #ffffff;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}

.title1 {
	font-size: 20px;
	line-height: 100%;
	TEXT-DECORATION: none;
	color: #333333;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
	padding-left: 20px;
}

.title2 {
	font-size: 20px;
	line-height: 100%;
	TEXT-DECORATION: none;
	color: #ffffff;
	font-family: Microsoft YaHei, Î¢ÈíÑÅºÚ, Microsoft JhengHei;
}
-->
</style>
</head>

<div ng-controller="knowledgeForumCtrl" id="knowledgebody">
<section id="page-title_1">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EDF1F2" style="background-color:#EDF1F2;">
  <tr>
    <td height="75"><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td ><img ng-click="searchSolution(searchInput)" src="assets/images/zsk_logo.png" width="220" height="45" ></td>
        <td align="right">
          <table width="360" border="0" cellpadding="0" cellspacing="0" background="assets/images/zsk_search_bg.png">
            <!-- <div class="col-md-8 pack-service pull-right">
            <div class="input-group no-margin">
                    <span class="input-group-addon" id="searchSpan" style="border:none;background: #fff;background: rgba(0,0,0,.05);" ng-click="searchSolution(searchInput)">
                      <i class="fa fa-search"></i>
                    </span> 
                   <input type="text" ng-model="searchInput" placeholder="搜索..." class="form-control no-padding-hr" style="border:none;background: #fff;background: rgba(0,0,0,.05);">
                 </div>
                </div> -->
          <tr>
            <td width="44" height="34"  id="searchSpan"  ng-click="searchSolution(searchInput)">&nbsp;</td>
            <td><input type="text" ng-model="searchInput" placeholder="请输入关键字搜索" class="form-control no-padding-hr" style="border:none;background: #fff;background: rgba(0,0,0,.05);"></td>
          </tr>
        </table>
      </td>
      </tr>
    </table></td>
  </tr>
</table>
</section>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="40"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" class="nav">
      <tr>
        <!-- <td align="center"><a href="#">{{btnName}}</a></td> -->
        <td align="center" valign="middle"><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="100" align="center">今日浏览数:</td>
              <td width="30" align="center" bgcolor="#22C485" class="white" style="border-radius:10px">{{todayHits}}</td>
            </tr>
          </table></td>
        <td align="center"><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="100" align="center">昨日浏览数:</td>
              <td width="30" align="center" bgcolor="#22C485" class="white" style="border-radius:10px">{{lastHits}}</td>
            </tr>
          </table></td>
        <td align="center"><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="100" align="center">知识库数量:</td>
              <td width="30" align="center" bgcolor="#22C485" class="white" style="border-radius:10px">{{num}}</td>
            </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="10" background="assets/images/zsk_nav_bg.jpg"></td>
  </tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="15">
  <tr>
    <td valign="top">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" background="assets/images/zsk_title_01.gif" style="background-repeat:no-repeat;">
        <tr>
          <td height="40" class="title1">最新帖 </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="10" >
        <tr>
          <td>
            <div ng-repeat="item in solutionBBS">
              <div class="comment">  
                <img src="assets/images/user3.png" alt="" class="comment-avatar" style="display: block; float: left;width:44px;height:44px;border-radius: 50%;  margin-top: 10px;"> 
                <div class="comment-body" style="color: #aaa;font-size: 16px; ">   
                  <div class="comment-text" style="padding-top:10px;color: #004999; ">
                    <div id="aa"  data-toggle="modal" data-target="#commentSolutions"   ng-click="findSolutionReviewByType('{{item.id}}');" style="color：#004999">{{item.title}}
                    </div> 
                   <!--  <img src="assets/images/fj.gif" alt="attach_img" title="图片附件" align="absmiddle"> -->
                    <!-- <span class="pull-right">  
                      <button  class="btn btn-info btn-flat btn-rounded"><i class="fa fa-dot-circle-o"></i>&nbsp;&nbsp;{{item.hits}}</button>
                    </span>
                    <span class="pull-right"><p>{{item.content}}</p></span> -->
                  </div>
                  <div >
                   <!--  <span class="pull-right">  
                      <button class="btn btn-success btn-flat btn-rounded"><i class="fa fa-comments-o"></i>&nbsp;&nbsp;{{item.replies}}</button>
                    </span> -->
                    <em><a>{{item.creationname}}</a></em>
                    <em>于 <span>{{item.creationTime}}</span> 发表 |</em>
                    <em>最后回复:<span>{{item.lastReplyUser}}</span>于{{item.lastReplyTime}}评论</em>
                  </div>
                  <div class="comment-actions"  style="padding-top:10px;padding-left:70px;">
                     <a data-toggle="modal" data-target="#commentboxbox"   ng-click="commentshowSolution(item)"><i class="fa fa-pencil"></i>查看</a>&nbsp;&nbsp;&nbsp;
                    <a data-toggle="modal" data-target="#commentboxbox"><i class="fa fa-flag-o"></i>总评分({{item.scores}})</a>&nbsp;&nbsp;&nbsp;
                    <a data-toggle="modal" data-target="#commentboxbox"><i class="fa fa-dot-circle-o"></i>总浏览量({{item.hits}})</a>&nbsp;&nbsp;&nbsp;
                    <a data-toggle="modal" data-target="#commentboxbox"><i class="fa fa-comments-o"></i>评分次数({{item.replies}})</a>
                  </div><hr/>
                </div>
              </div> <!-- / .comment-body -->
            </div> <!--ng-repeat -->
             <div class="text-center">
                <div class="row pagination-demo">
                    <div class="col-sm-12">
                      <ul class="pagination">
                        <li ng-class="{disabled:currentPage===1}"><a  ng-click="fetchByPage(currentPage-1,7)">«</a></li>
                        <li class="active"><a href="javascript:void">{{currentPage}}<span class="sr-only">(current)</span></a></li>
                        <li ng-class="{disabled:currentPage===pages||count===7}"><a ng-click="fetchByPage(currentPage+1,7)">»</a></li>
                      </ul>
                    </div>
               </div>
            </div>
          </td>
        </tr>
      </table>
    </td>
    <td width="85%" valign="top" style="float:right">
      <table width="100%" border="0" cellpadding="10" cellspacing="0" style="background-color:#22C485;">
        <tr>
          <td class="title2" style="padding:10px;">
            <img src="assets/images/zsk_icon_01.png"  style="width:16px;height:16px;vertical-align:initial;">
            评分排行榜
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="10" style="border:#CCCCCC solid;border-width:0px 1px 1px 1px ">
        <tr>
          <td align="center">
            <div class="stat-panel" style="background-color:white;">
              <div class="stat-row">
                  <div class="stat-cell  padding-sm text-center">
                    <div class="text-xs" style="margin-bottom:5px;"><span >分数图</span></div> 
                    <span jq-sparkline ng-model="topscore" ng-if="topscore" type="line" width="40%" height="80px" line-color="#8e8e93" highlight-line-color="#c2c2c5" highlight-spot-color="#CE4641" max-spot-color="#5CB85C" min-spot-color="#D9534F" spot-radius="4" fill-color="transparent" resize="true"></span>
                  </div>
              </div>
             </div>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="10" cellspacing="0" bgcolor="#F3F3F3" style="margin-top:10px;background-color:#F3F3F3;">
        <tr>
          <td>
            <div class="panel-body tab-content-padding">
              <div class="panel-padding no-padding-vr">
                <div ng-repeat="s in scoreRankings">  
                  <div class="ticket" style="font-size: 12px;">
                    <span class="label label-{{ clses[s.index].cls }}  ticket-label">{{s.scores}}</span>
                    <a ng-click="findSolutionReviewByType('{{s.id}}');" data-toggle="modal" data-target="#commentSolutions" title="" class="ticket-title" class="panel-title">{{s.title}}</a>
                    <span class="ticket-info">
                     创建人:<a href="#" title="">{{s.name}}</a>&nbsp;&nbsp;
                     日期:<span>[#{{s.createTime}}]</span>
                    </span>
                    <hr style="height: 1px; border:none; border-top:1px dashed #CCCCCC;" />
                  </div> <!-- / .ticket -->
                </div>
              </div>
            </div>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="10" cellspacing="0" style="background-color:#22C485;">
        <tr>
          <td class="title2" style="padding:10px;">
            <img src="assets/images/zsk_icon_01.png"  style="width:16px;height:16px;vertical-align:initial;">
            热度排行榜
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="10" style="border:#CCCCCC solid;border-width:0px 1px 1px 1px">
        <tr>
          <td align="center">
            <div class="stat-panel" style="background-color:white;">
              <div class="stat-row">
                  <div class="stat-cell  padding-sm no-padding-t text-center">
                    <div class="text-xs" style="margin-bottom: 5px;"><span style="color:white;">热度图</span></div> 
                    <!--div id="stats-sparklines-2" class="stats-sparklines" style="width: 100%"></div-->
                    <span jq-sparkline ng-model="tophot" ng-if="tophot" type="bar" width="40%" height="80px" zeroAxis="false" barSpacing="2px" bar-color="#8e8e93"></span>
                  </div>
                </div> 
              </div>
             </div>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="10" cellspacing="0" bgcolor="#F3F3F3" style="margin-top:10px;background-color:#F3F3F3;">
        <tr>
          <td>
             <div class="panel-body tab-content-padding"> 
              <div class="panel-padding no-padding-vr">
             <div ng-repeat="h in hotRankings">  
                <div class="ticket" style="font-size: 12px;">
                  <span class="label label-{{ clses[h.index].cls }} ticket-label">{{h.replies}}</span>
                  <a ng-click="findSolutionReviewByType('{{h.id}}');"  data-toggle="modal" data-target="#commentSolutions"  title="" class="ticket-title"  class="panel-title">{{h.title}}</a>
                  <span class="ticket-info">
                     创建人:<a href="#" title="">{{h.name}}</a>&nbsp;&nbsp; 
                     日期:<span>[#{{h.createTime}}]
                  </span>
                  <hr style="height: 1px; border:none; border-top:1px dashed #CCCCCC;" />
                </div> <!-- / .ticket -->
               </div> 
               </div>
               </div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</div>

